/*
    Project Milestone 3
    by Lorenzo Miori [Lorenzo.Miori@stud-inf.unibz.it,
    Matteo Angriman [Matteo.Angriman@stud-inf.unibz.it],
    Nick Preda [Nicolae.Preda@stud-inf.unibz.it]
*/

package DB;
import static DB.GenericDBInterface.*;
import java.sql.Connection;

/**
 *
 * @author matteo
 */
public class ValidPaymentMethodsDB extends GenericTableInterface{

    public static final String METHOD_TABLE_NAME = "ValidPaymentMethods";
    public static final String METHOD_ID = "method_id";
    public static final String METHOD_NAME = "method_name";
    public static final String METHOD_ORDERING[] = {METHOD_ID, METHOD_NAME};
    
    public static final int[] METHOD_TYPES = {INT, STRING};
    
    public ValidPaymentMethodsDB (Connection dbConnection){
        super (dbConnection, METHOD_TYPES, METHOD_ID, METHOD_TABLE_NAME, METHOD_ORDERING);
    }
}
